
/*
 *    MCreator note: This file will be REGENERATED on each build.
 */
package top.xiaoqiannb.shapelessdao.init;

import top.xiaoqiannb.shapelessdao.block.entity.QimenzhenfaITileEntity;
import top.xiaoqiannb.shapelessdao.block.entity.QimenzhenfaIITileEntity;
import top.xiaoqiannb.shapelessdao.ShapelessdaoMod;

import net.minecraftforge.registries.RegistryObject;
import net.minecraftforge.registries.ForgeRegistries;
import net.minecraftforge.registries.DeferredRegister;

import net.minecraft.world.level.block.entity.BlockEntityType;
import net.minecraft.world.level.block.Block;

public class ShapelessdaoModBlockEntities {
	public static final DeferredRegister<BlockEntityType<?>> REGISTRY = DeferredRegister.create(ForgeRegistries.BLOCK_ENTITY_TYPES, ShapelessdaoMod.MODID);
	public static final RegistryObject<BlockEntityType<QimenzhenfaIITileEntity>> QIMENZHENFA_II = REGISTRY.register("qimenzhenfa_ii",
			() -> BlockEntityType.Builder.of(QimenzhenfaIITileEntity::new, ShapelessdaoModBlocks.QIMENZHENFA_II.get()).build(null));
	public static final RegistryObject<BlockEntityType<QimenzhenfaITileEntity>> QIMENZHENFA_I = REGISTRY.register("qimenzhenfa_i", () -> BlockEntityType.Builder.of(QimenzhenfaITileEntity::new, ShapelessdaoModBlocks.QIMENZHENFA_I.get()).build(null));

	// Start of user code block custom block entities
	// End of user code block custom block entities
	private static RegistryObject<BlockEntityType<?>> register(String registryname, RegistryObject<Block> block, BlockEntityType.BlockEntitySupplier<?> supplier) {
		return REGISTRY.register(registryname, () -> BlockEntityType.Builder.of(supplier, block.get()).build(null));
	}
}
